package top.lingkang.privatespace.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import top.lingkang.privatespace.entity.User;

/**
 * @author lingkang
 * Created by 2022/2/15
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from ps_user where username=#{username}")
    User get(@Param("username") String username);
}
